#ifndef PIECSLISTMODEL_H
#define PIECSLISTMODEL_H

#include<QAbstractItemModel>

//class piecslistmodel: public QAbstractItemModel
//{
//public:
//    piecslistmodel();

//    QVariant data(const QModelIndex &index, int role) const;
//    Qt::ItemFlags flags(const QModelIndex &index) const;
//    QVariant headerData(int section, Qt::Orientation orientation,
//                        int role = Qt::DisplayRole) const;
//    QModelIndex index(int row, int column,
//                      const QModelIndex &parent = QModelIndex()) const;
//    QModelIndex parent(const QModelIndex &index) const;
//    int rowCount(const QModelIndex &parent = QModelIndex()) const;
//    int columnCount(const QModelIndex &parent = QModelIndex()) const;

//    bool setData(const QModelIndex &index, const QVariant &value, int role);
//    /**
//     * Reimplemented methods for handling drag-n-drop, encoding and deconding
//     * mime types
//     */
//    Qt::DropActions supportedDropActions() const;
//    QStringList mimeTypes() const;
//    QMimeData* mimeData(const QModelIndexList &indexes);
//    bool dropMimeData(const QMimeData *data, Qt::DropAction action,
//                      int row, int column, const QModelIndex &parent);
//};

#endif // PIECSLISTMODEL_H
